package com.qianbudai.koklinlearning.model

object UserModel {
    fun addUser(name:String, lintener:(Boolean)->Unit){
        Thread.sleep(3000)

        if (name == "test"){
            lintener(true)
        }else{
            lintener(false)
        }
    }
}